import instance from '../../axios/index'


// 获取用户列表
export const getUserList = async (page: number, pageNum: number) => {
    const res= await instance.get(`/Manber/list?page=${page}&pageNum=${pageNum}`)
    return res
}

//拉黑用户
export const blackUser = async (id: number) => {
    const res= await instance.post("Manber/deleteManber",{id})
    return res.data.data
}
